import numpy as np
arr=np.random.randint(1,100,size=(3,4))
print(arr)
print(arr.T)#转置
print(arr.reshape(2,6))#变形2*6数组